﻿<Tabs>
    <TabPane Tab="tab1" >
        Content of Tab Pane 1
    </TabPane>
    <TabPane Tab="Tab 2" >
        Content of Tab Pane 2
    </TabPane>
    <TabPane Tab="Tab 3">
      Content of Tab Pane 3
    </TabPane>
</Tabs>

@code{
    void OnTabChange(string key)
    {
        Console.WriteLine($"tab change:{key}");
    }
}
